import Home from '@/pages/Home';
import MY from '@/pages/My';
import Page404 from '@/pages/Page404';
import Org from '@/pages/Org';
import NoOrg from '@/pages/NoOrg';
import Student from '@/pages/Student';
import Course from '@/pages/Course';
import Product from '@/pages/Product';
import Teacher from '@/pages/Teacher';
import { ROUTE_KEY } from './menus';

export const ROUTE_COMPONENT = {
  [ROUTE_KEY.HOME]: Home,
  [ROUTE_KEY.MY]: MY,
  [ROUTE_KEY.ORG]: Org,
  [ROUTE_KEY.No_Org]: NoOrg,
  [ROUTE_KEY.STUDENT]: Student,
  [ROUTE_KEY.COURSE]: Course,
  [ROUTE_KEY.PRODUCT]: Product,
  [ROUTE_KEY.TEACHER]: Teacher,
  [ROUTE_KEY.PAGE_404]: Page404,
};
